package com.flyxiaozhu.erp.core.entities;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@Data
@DynamicInsert
@DynamicUpdate
public class GoodsExamineLog extends BaseEntity {
    @Column(columnDefinition = "int(11) NOT NULL DEFAULT 0 COMMENT '用户ID'")
    private long uid;

    @Column(columnDefinition = "varchar(32) NOT NULL DEFAULT '' COMMENT '用户姓名'")
    private String realname;

    @Column(columnDefinition = "varchar(255) not null default '' comment '商品名称'")
    private String goodsName;

    @Column(columnDefinition = "tinyint(2) not null default 0 comment '审核状态，0待审核，1审核通过，99审核拒绝'")
    private int status;

    @Column(columnDefinition = "varchar(255) NOT NULL DEFAULT '' COMMENT '备注'")
    private String remark;
}
